package com.cx.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserVo {

    @NotBlank(message = "不能为空")
    private Integer id;

    @NotNull(message = "不能为空")
    private String userName;

    @NotBlank(message = "不能为空")
    private Integer passWord;
}
